Skip to content

Do not override (xc)framework's Info.plist files with RCTNewArchEnabled#54771

Closed
fgagneten-02 wants to merge 1 commit into
react:0.81-stablefrom
fgagneten-02:fix/cocoapods-binary-plist-encoding
Closed

Do not override (xc)framework's Info.plist files with RCTNewArchEnabled#54771
fgagneten-02 wants to merge 1 commit into
react:0.81-stablefrom
fgagneten-02:fix/cocoapods-binary-plist-encoding

Conversation

@fgagneten-02

@fgagneten-02 fgagneten-02 commented Dec 3, 2025

Copy link
Copy Markdown

Summary:

new_architecture.rb script looks for Info.plist files in IOS directory, and adds RCTNewArchEnabled field to each one, except for those explicitly excluded. Framework files should remain unchanged, so I've extended the excluded_info_plist dict.

Modifying framework's Info.plist can break pod installation with errors like:

[!] An error occurred while processing the post-install hook of the Podfile.

invalid byte sequence in UTF-8

Fix issue: #52278 for RN 0.81

Changelog:

[IOS] [FIXED] Fix overriding (xc)framework Info.plist files with RCTNewArchEnabled field

Test Plan:

Add any .framework or .xcframework to the iOS directory, install pods. If *.(xc)framework/Info.plist remains unchanged it works as intended.

Note:

This is the same fix @msynowski did on 0.82-stable but now targeting 0.81

@meta-cla

meta-cla Bot commented Dec 3, 2025

Copy link
Copy Markdown

Hi @fgagneten-02!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@meta-cla

meta-cla Bot commented Dec 3, 2025

Copy link
Copy Markdown

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 3, 2025
@meta-cla

meta-cla Bot commented Dec 3, 2025

Copy link
Copy Markdown

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@react-native-bot

Copy link
Copy Markdown
Collaborator

This PR is stale because it has been open for 180 days with no activity. It will be closed in 7 days unless you comment on it or remove the "Stale" label.

@react-native-bot react-native-bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jun 3, 2026
@cortinico

Copy link
Copy Markdown
Contributor

Closing as 0.81 is out of support window

@cortinico cortinico closed this Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Pick Request Stale There has been a lack of activity on this issue and it may be closed soon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants